<?php
	include("../lib/nusoap.php");
	include("../lib/client.php");
	
	$password = hash('md5', $_POST['pass']);
	$params = array('user_name' => $_POST['user'], 'password' => $password);
	$response = $client->loginUser($params);
	//if($response->return != 0){
		//$_SESSION['code'] = $response->return;
		echo '1';
	//}else{
		//echo '0'; 
	//}
?>

